/*
 * @Author: Du Weixing duweixing@sgsimulation.com
 * @Date: 2024-09-04 11:13:35
 * @LastEditors: Du Weixing duweixing@sgsimulation.com
 * @LastEditTime: 2024-09-10 15:58:39
 * @FilePath: \SGFEM\SGFem\PublicElement\Factory\src\PublicElementCalculatorRegister.cpp
 * @Description: 单元计算注册
 * 
 * Copyright (c) 2024 by 神工仿真, All Rights Reserved. 
 */

#include "PublicElementCalculatorRegister.h"
#include "SGFem/ElementCalculator/Factory/ElementCalculatorFactory.h"
#include "../ShellElement/Tria3ShellCalculator.h"
#include "../ShellElement/Quad4ShellCalculator.h"

using SG::DataStructure::FEM::ElementTypes;
using namespace SG::FEMSolver::Element;

void SG::FEMSolver::Element::publicElementCalculatorRegister ()
{
    ElementCalculatorFactory::Register (ElementTypes::ELETYPE_ShellTria3, Tria3ShellCalculator::Create);
    ElementCalculatorFactory::Register (ElementTypes::ELETYPE_ShellQuad4, Quad4ShellCalculator::Create);
}